package com.example.demo.project.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.project.entity.Student;
import com.example.demo.project.mapper.StudentMapper;
import org.springframework.stereotype.Service;

@Service
public class StudentService extends ServiceImpl<StudentMapper, Student> {
    public boolean saveStudent(Student student){
        return saveOrUpdate(student);
    }
}
